﻿using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
using Windows.Service.Share;

namespace Windows.Admin.Service
{
    public interface IUserService
    {
        /// <summary>
        /// 获取当前用户详情(基本信息)
        /// </summary>
        /// <returns></returns>
        Task<CurrentUserResponse> CurrentUser();
        /// <summary>
        /// 获取可绑定的用户
        /// </summary>
        /// <returns></returns>
        Task<List<UserResponse>> GetCanBindUsers(long employeeId);
        /// <summary>
        /// 用户视图
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<PageResponse<UserResponse>> Query(PageRequest<UserRequest> request);
        /// <summary>
        /// 获取id的用户详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<UserResponse> Detail(int id);
        /// <summary>
        /// 用户保存
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task Save(UserSaveRequest request);
        /// <summary>
        /// 用户删除
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task Remove(IdsRequest request);
        /// <summary>
        /// 更新个人信息
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        //Task ModifyProfile(ProfileRequest info);
        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        //Task ChangePassWord(PassWordRequest info);
    }
}
